import request from '@/utils/request.js'
export default{
	getAllComments(currentPage,pageSize){
		return request({
			url:`/comment/getComment/${currentPage}/${pageSize}`,
			method:"GET"
		})
	},
	delCommentById(id){
		return request({
			url:`/comment/delCommentById/${id}`,
			method:"GET"
		})
	},
	refuse(new_data){
		return request({
			url:`/comment/updataCommentById`,
			data:new_data,
			method:"POST"
		})
	},
	
}